import 'package:fish_redux/fish_redux.dart';

enum UserTypeViewAction {
  action,
  onTapIndex,
  onSubmit,
}

class UserTypeViewActionCreator {
  static Action onAction() {
    return const Action(UserTypeViewAction.action);
  }

  static Action onTapIndex(index) {
    return Action(UserTypeViewAction.onTapIndex, payload: index);
  }

  static Action onSubmit() {
    return const Action(UserTypeViewAction.onSubmit);
  }
}
